import React from 'react';
import { withRouter } from 'react-router-dom';
import { connect } from 'react-redux';
import reducer from '../../store/user';
import BindPhone from '../../components/user/BindPhone';
import { injectReducer } from '../../store/reducers';
import store from '../../store/createStore';
const mapStateToProps = state => ({});

const mapDispatchToProps = {};

injectReducer(store, { key: 'user', reducer });
export default withRouter(
  connect(
    mapStateToProps,
    mapDispatchToProps
  )(BindPhone)
);
